@import "../common/common.less";

@thBgColor: #F0F0F0;
@boxShadowColor: rgba(0, 0, 0, 0.1);
.home {
  .cardBox {
    display: flex;
    align-items: center;
    margin-bottom: 12px;

    .cardItem {
      flex: 1;
      background: @allWhite;
      box-shadow: 0px 0px 10px 0px rgba(134, 148, 166, 0.15);
      border-radius: 15px;
      display: flex;
      cursor: pointer;
      padding: 20px;
      .c_left{
        flex: 1;
        .cardItemTitle1{
          font-weight: 500;
          font-size: 18px;
          color: #3A3A3A;
          line-height: 28px;
        }
        .cardContent1{
          margin-top: 18px;
          font-family: MiSans, MiSans;
font-weight: 500;
font-size: 18px;
color: #8D8D8D;
line-height: 28px;
          span{
            font-family: DIN, DIN;
font-weight: bold;
font-size: 28px;
color: #1D2129;
line-height: 28px;
            margin-right: 4px;
          }
        }
      }
      .c_right{
        width: 90px;
        height: 90px;
        overflow: hidden;
        img{
          width: 90px;
          height: 90px;
        }
      }

      .cardItemTitle {
        height: 32px;
        background: #FFAE02;
        border-radius: 5px 5px 0px 0px;
        font-size: 12px;
        font-weight: 400;
        color: #FFFFFF;
        text-align: center;
        line-height: 32px;
      }

      .blue {
        background: #018ABD;
      }

      .red {
        background: #FF6F02
      }

      .cardContent {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 18px;
        font-weight: bold;
        color: #202E3B;
      }
    }

    .splitArea {
      flex: 0 0 @commonPaddingOutside;
    }
  }
  .cooperateHome, .sortingHome {
    .cardArea {
      display: flex;
      margin-bottom: @commonPaddingOutside;

      .splitArea {
        flex: 0 0 @commonPaddingOutside;
      }

      .card {
        flex: 1;
        text-align: center;
        padding: 48px 0;
        border-radius: @commonBorderRadius;
        background: @allWhite;

        .cardTitle {
          margin-top: @commonPaddingOutside;
          color: #ccc;
        }
      }
    }

    .chartArea {
      margin-bottom: @commonPaddingOutside;

      .inputArea {
        margin-left: @commonPaddingOutside;
      }

      #cooperate_chart {
        width: 100%;
        height: 360px;
      }
    }

    .tableArea {
      display: flex;

      .splitArea {
        flex: 0 0 @commonPaddingOutside;
      }

      .tableContent {
        flex: 1;
        border-radius: @commonBorderRadius;
        box-shadow: 0px 0px 4px 0px @boxShadowColor;
        background: @allWhite;

        /deep/ .el-table {
          tr {
            height: 46px;
            line-height: 46px;
          }

          td, th {
            padding: 0;
          }

        }

        /deep/ .el-table .cell.el-tooltip > div {
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
        }

        /deep/ .el-table th {
          height: 48px;
          font-size: 14px;
          font-weight: bold;
          color: @fontColor;
          background: @thBgColor;
        }

        /deep/ .el-table tr {
          height: 46px;
          color: @fontColor;
        }

        /deep/ .el-table__body tr.hover-row.current-row > td,
        /deep/ .el-table__body tr.hover-row.el-table__row--striped.current-row > td,
        /deep/ .el-table__body tr.hover-row.el-table__row--striped > td,
        /deep/ .el-table__body tr.hover-row > td {
          background-color: rgba(0, 119, 251, 0.2);
        }

        /deep/ .el-table tr:nth-child(odd) {
          background: @allWhite;
        }

        /deep/ .el-table tr:nth-child(even) {
          background: #f0f0f0;
        }

        /deep/ .el-table td, .el-table th.is-leaf {
          border-color: @borderColor;
        }

        /deep/ .el-table td.is-align-left {
          box-shadow: -1px 0px 1px 0px rgba(0, 0, 0, 0.1);
          background-color: @allWhite !important;
        }

        /deep/ .el-table td.is-align-left {
          box-shadow: -1px 0px 1px 0px rgba(0, 0, 0, 0.1);
          background-color: @allWhite !important;
        }

        /deep/ .el-table td.handler {
          box-shadow: -1px 0px 1px 0px rgba(0, 0, 0, 0.1);
          background-color: @allWhite !important;
        }
      }
    }
  }

  .enterpriseHome {


    .enterprisePanel {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;

      .pageTitle {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex: 1;
        height: 53px;
      }

      .tableItem {
        width: 49.5%;
        margin-bottom: 12px;

        .tableBox {
          height: 400px;
          overflow-x: hidden;
          overflow-y: auto;
          &::-webkit-scrollbar{
            display: none;
          }
        }
      }

      .heartBox {
        width: 49.5%;
        margin-bottom: 12px;
        display: flex;
        flex-direction: column;

        .changeBox {
          display: flex;
          align-items: center;

          /deep/ .el-tabs__header {
            margin: 0;
          }

          /deep/ .el-tabs__nav-wrap::after {
            background-color: transparent;
          }

          /deep/ .el-tabs__item {
            height: 53px;
            line-height: 53px;
          }
        }

        .changeBox::before {
          display: block;
          content: '';
          width: 4px;
          background: #ffae02;
          height: 21px;
          margin-right: 12px
        }

        /deep/ .panelContent {
          width: 100%;
          height: 100%;

          .heartMap {
            width: 100%;
            height: 100%;
          }
        }

      }
    }
  }
}

